package com.todod.service;

import java.io.InputStream;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.todod.entity.QueryEntry;
import com.todod.entity.ReqCatalog;
import com.todod.model.CatalogManage;
import com.todod.model.User;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author dyl
 * @date 2022-09-05
 */
public interface ICatalogManageService extends IService<CatalogManage> {

	IPage<CatalogManage> getListPage(QueryEntry queryEntry);

	void saveData(Long _userId, CatalogManage catalogManage);

	void editData(Long _userId, CatalogManage catalogManage);

	void copyData(Long _userId, ReqCatalog reqCatalog);

	void saveUploadTbData(HttpServletRequest request, InputStream is, User user, Long classifyId) throws Exception;

	List<CatalogManage> getListByCode(String code);

	void updateState(Long _userId, Long code, String status);

}
